REGISTER json-simple-1.1.jar;
REGISTER elephant-bird-core-4.0.jar;
REGISTER elephant-bird-pig-4.0.jar
REGISTER elephant-bird-hadoop-compat-4.0.jar;
REGISTER porkbelly.jar
mydata = load '/tmp/search-example.json' USING com.twitter.elephantbird.pig.load.JsonLoader('-nestedLoad') as (json:map[]);
keyword_map = foreach mydata generate org.porkbelly.json.JsonBagToMap(json#'keyword');
dump keyword_map;